<!--# layout("/common/layout.html",{"jsBase":"/js/cms/homeContent/"}){ -->

<form class="layui-form layui-form-pane" id="updateForm">
    <div class="layui-row">
        <div class="layui-form-item">

            <div class="layui-inline">
            <label class="layui-form-label">内容标题</label>
				<div class="layui-input-inline">
					<input type="text" id="title" name="title"  value="${homeContent.title}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">链接</label>
                <div class="layui-input-inline">
                    <input type="text" id="url" name="url"  value="${homeContent.url}"   class="layui-input" >
                </div>
            </div>
        </div>
    </div>
    <input id="image" type="hidden" name="pic" class="layui-input" value="${homeContent.pic}">
    <input id="del" type="hidden" name="del" class="layui-input" value="${homeContent.del}">
    <input type="hidden" name="id" value=${homeContent.id} />
    <layui:submitButtons id="updateButton" />
</form>
<div class="layui-row">
    <div class="layui-container">
        <div class="layui-row">
            <div class="layui-form-item my-item-style">
                <div class="layui-inline my-liline-style">
                    <layui:fastdfsUploadImgModify id="itemPic" value="" btnName="点击修改" addr="${homeContent.pic}"/>
                </div>
            </div>
        </div>
    </div>
    <div/>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var homeContentEdit = layui.edit
    homeContentEdit.init();
});
</script>
